/**
 * Copyright (c) 2024,  科泰集团教研团队
 * 版权所有，请勿侵权
 */
package dao;

import entity.Pet;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @author 科泰集团教研团队
 * @version 1.0.0
 * @packageName dao
 * @fileName PetDaoMySQLImpl.java
 * @createTime 2024/9/5 17:33
 * @lastModify 2024/9/5 17:33
 */
@Repository("petDaoMySQL")
public class PetDaoMySQLImpl implements PetDao {
    @Override
    public int insert(Pet pet) {
        // 此处模拟插入数据，简化操作说明问题
        System.out.println("将宠物“" + pet.getName() + "”插入到MySQL数据库");
        return 1;
    }
}
